package com.sld.concrete.device.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 设备管理对象 info_device
 * 
 * @author topviewers
 * @date 2022-03-13
 */
public class InfoDevice extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 设备ID */
    @Excel(name = "设备ID")
    private String devId;

    /** 设备名称 */
    @Excel(name = "设备名称")
    private String devName;

    /** 设备类型 */
    @Excel(name = "设备类型")
    private String devType;

    /** 设备协议 */
    @Excel(name = "设备协议")
    private String devProto;

    /** 厂家 */
    @Excel(name = "厂家")
    private String manufacturer;

    /** 更多数据json模板 */
    private String infoProp;

    private String plateNo; //新增数据结构

    public void setDevId(String devId) 
    {
        this.devId = devId;
    }

    public String getDevId() 
    {
        return devId;
    }
    public void setDevName(String devName) 
    {
        this.devName = devName;
    }

    public String getDevName() 
    {
        return devName;
    }
    public void setDevType(String devType) 
    {
        this.devType = devType;
    }

    public String getDevType() 
    {
        return devType;
    }
    public void setDevProto(String devProto) 
    {
        this.devProto = devProto;
    }

    public String getDevProto() 
    {
        return devProto;
    }
    public void setManufacturer(String manufacturer) 
    {
        this.manufacturer = manufacturer;
    }

    public String getManufacturer() 
    {
        return manufacturer;
    }
    public void setInfoProp(String infoProp) 
    {
        this.infoProp = infoProp;
    }

    public String getInfoProp() 
    {
        return infoProp;
    }

    public String getPlateNo() {
        return plateNo;
    }

    public void setPlateNo(String plateNo) {
        this.plateNo = plateNo;
    }
    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("devId", getDevId())
            .append("devName", getDevName())
            .append("devType", getDevType())
            .append("devProto", getDevProto())
            .append("manufacturer", getManufacturer())
            .append("infoProp", getInfoProp())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
